package com.springcloud.server.mapper;

import com.springcloud.api.entries.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author tiansongtao
 * @date 2019年04月11日-17时06分
 */
@Mapper
public interface DeptMapper {

    boolean insertDept(Dept dept);

    Dept selectDeptById(Long id);

    List<Dept> selectAllDept();
}
